package com.tocici.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import com.tocici.domain.Music;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 音乐视图对象 music
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Music.class)
public class MusicVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long musicId;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String title;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long audioUrl;

    /**
     * Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "audioUrl")
    private String audioUrlUrl;
    /**
     *
     */
    @ExcelProperty(value = "")
    private Long imageUrl;

    /**
     * Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "imageUrl")
    private String imageUrlUrl;
    /**
     * 单位：秒
     */
    @ExcelProperty(value = "单位：秒")
    private Long duration;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long artistId;

    private ArtistVo artistVo;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long categoryId;

    private CategoryVo categoryVo;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Integer playCount;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long isDeleted;


}
